package com.hmall.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hmall.user.mapper.AddressMapper;
import com.hmall.user.pojo.Address;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface AddressService extends IService<Address> {
    List<Address> getAddressByUserId();

    Address getAddressById(Long addressId);
}
